﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sparrow.CMS
{
    public class Layout
    {
        public string Name
        {
            get;
            set;
        }

        public IEnumerable<Widget> Widgets
        {
            get
            {
                return Facotry.FindViewEngine(this.Name).GetWidgets(this);
            }
        }
    }
}
